<?php

declare(strict_types=1);

namespace App\Entity;

use App\Models\CityBusyPeriod as CityBusyPeriodModel;

class BusyPeriodEntity extends ABaseEntity
{
    public $city_id    = 0;
    public $start_time = '';
    public $end_time   = '';

    public function __construct(CityBusyPeriodModel $model)
    {
        $this->model = $model;
    }

    public function setCity(int $cityId)
    {
        $this->city_id = $cityId;
    }

    public function setStartTime(string $startTime)
    {
        $this->start_time = $startTime;
    }

    public function setEndTime(string $endTime)
    {
        $this->end_time = $endTime;
    }
}
